#include"app_mqtt.h"

void receivecallback(char *data, int len);

int main(void){
      
    App_Mqtt_Init(receivecallback);
    App_Mqtt_PublishMessage("hello",5);
    sleep(3);
    App_Mqtt_PublishMessage("world",5);

    sleep(100000000);
    return 0;
}

void receivecallback(char *data, int len){
   log_info("%.*s",len,data);


}